﻿namespace Anley.DomainDrivenDesign.Contract.DomainAdapter;

/// <summary>
/// 分页查询视图对象抽象类
/// </summary>
public abstract class PagedVo
{
    /// <summary>
    /// 排序字段
    /// </summary>
    public string? SortField { get; set; }

    /// <summary>
    /// 是否正序
    /// </summary>
    public bool? IsAsc { get; set; }

    /// <summary>
    /// 页码
    /// </summary>
    public int? PageNumber { get; set; }

    /// <summary>
    /// 每页数量
    /// </summary>
    public int? PageSize { get; set; }
}